﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Runtime.Serialization;
using System.ServiceModel;
using System.ServiceModel.Web;
using System.Text;
using IBTS.BO.Objects;
using IBTS.BL.Core;

namespace IBTS.WCF.Core
{
    // NOTE: You can use the "Rename" command on the "Refactor" menu to change the interface name "IService1" in both code and config file together.
    [ServiceContract]
    public interface IIBTSKeys
    {
        [OperationContract]
        List<KeysItem> GetAllKeys();

        [OperationContract]
        int Insert(KeysItem toInsert);

        [OperationContract]
        int Update(KeysItem toUpdate);

        [OperationContract]
        int Delete(long idToDelete);
    }
}
